/**
 * 
 */
package br.com.gcl.dao;

import java.util.Collection;

import br.com.gcl.model.User;

/**
 * @author Alex
 *
 */
public interface UsersDAO {
	
	Collection<User> listar() throws Exception;
	Collection<User> listarByCom(long idCom) throws Exception;
	User buscar(long id) throws Exception;
	User buscar(String login) throws Exception;
	int salvar(User user) throws Exception;
	
}
